//
//  UIView+EXExtension.h
//  MobileProject
//
//  Created by caiqilin on 2016/10/31.
//  Copyright © 2016年 caiqilin. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (EXExtension)
@property (nonatomic, assign) CGSize ex_size;
@property (nonatomic, assign) CGFloat ex_width;
@property (nonatomic, assign) CGFloat ex_height;
@property (nonatomic, assign) CGFloat ex_x;
@property (nonatomic, assign) CGFloat ex_y;
@property (nonatomic, assign) CGFloat ex_centerX;
@property (nonatomic, assign) CGFloat ex_centerY;

@property (nonatomic, assign) CGFloat ex_right;
@property (nonatomic, assign) CGFloat ex_bottom;

+ (instancetype)viewFromXib;

- (BOOL)intersectWithView:(UIView *)view;
@end
